package ${package.Controller};

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
import ${package.Service}.${table.serviceName};
import ${package.Entity}.${entity};
import lombok.AllArgsConstructor;

/**
* @Description ${table.comment}Controller
* @Author ${author}
* @Date ${date}
*/
@RestController
@RequestMapping("/${table.entityPath}")
@Api(tags = {"${table.comment}服务入口"})
@AllArgsConstructor
public class ${table.controllerName} {
/**
*${table.comment}接口
**/
private final ${table.serviceName} ${table.entityPath}Service;

}